package com.ldk.base.framework.util;

/**
 * 开发ID
 * @author xiangwl
 *
 */
public class OpenIdUtil {

	/**
	 * 加密OpenId
	 * @param phoneNo 手机号
	 * @param registerTime 注册时间
	 * @param salt 加密盐
	 * @return
	 */
	public static String encrypt(String phoneNo,long registerTime, String salt){
		String textplain = String.format("%s%s%s", phoneNo, registerTime, salt);
		
		return EncryptUtil.md5(textplain);
		
	}
}
